package io.renren.modules.address_list.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.common.utils.R;
import io.renren.modules.address_list.dao.V9AddressListDao;
import io.renren.modules.address_list.entity.V9AddressListEntity;
import io.renren.modules.address_list.service.V9AddressListService;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;


@Service("v9AddressListService")
public class V9AddressListServiceImpl extends ServiceImpl<V9AddressListDao, V9AddressListEntity> implements V9AddressListService {

    @Autowired
    private V9AddressListService v9AddressListService;

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<V9AddressListEntity> page = this.page(
                new Query<V9AddressListEntity>().getPage(params),
                new QueryWrapper<V9AddressListEntity>()
        );

        return new PageUtils(page);
    }


}
